package com.novabluetooth.services.bean;

import java.io.Serializable;

/**
 * 数据解析javaBean
 * @author JiangYL
 */
public class Records implements Serializable  {
	private static final long serialVersionUID = 1781102348190850847L;
	private int id;//id
	private int useId;//用户Id
	private String scaleType;//CF=脂肪秤CE=人体秤CB=婴儿秤CA=营养秤
	private String ugroup;//用户组
	private String recordTime;//接收时间
	private String compareRecord; //与上次数据对比
	private float rweight;//重量kg
	private float rbmi; //BMI
	private float rbone; // bone kg
	private float rbodyfat; // body fat 脂肪率%
	private float rmuscle; // Muscale Mass % 肌肉量
	private float rbodywater; // Body Water %水分率
	private float rvisceralfat; // Visceral Fat
	private float proteinPercentage; // Protein Percentage 蛋白质率
	private float musclePercentage; // Muscle Percentage 肌肉率
	private float fatFreeMass; // Fat Free Mass 去脂体重
	private String VFALLevel; // VFAL Level 内脏脂肪等级
	private String obsLevel; // Obs Level 肥胖等级
	private String fatLevel; // Subcutaneous fat percentage 皮下脂肪率
	private float bodyAge;// Body Age 身体年龄
	private String bodyType;//Body Type 身体类型
	private float targetWetight;//Target Wetight 标准体重
	private float bodyScore;//Body Score 身体得分
	private float controlWeight;//Control Weight 控制体重
	private float skeletalMusclePercentage;//Skeletal Muscle Percentage 骨骼肌率
	private float targetMuscle;//Target Muscle 标准肌肉量
	private float fatControl;//Fat Control 脂肪控制量
	private float muscleControl;//Muscle Control 肌肉控制量
	private String healthLevel;//Health Level 健康等级
	private String healthAssessment;//Health Assessment 健康评估
	private float WHR;//WHR 腰臀比

	@Override
	public String toString() {
		return "Parsed data\n" +
				" weight:" + rweight +
				"\n BMI: " + rbmi +
				"\n BMR: " + rbmr +
				"\n bone: " + rbone +
				"\n body fat: " + rbodyfat +
				"\n Muscale Mass: " + rmuscle +
				"\n Body Water: " + rbodywater +
				"\n Visceral Fat : " + rvisceralfat +
				"\n Protein Percentage: " + proteinPercentage +
				"\n Muscle Percentage: " + musclePercentage +
				"\n Fat Free Mass: " + fatFreeMass +
				"\n VFAL Level: " + VFALLevel +
				"\n Obs Level: " + obsLevel +
				"\n Subcutaneous fat percentage: " + fatLevel +
				"\n Body Age: " + bodyAge +
				"\n Body Type: " + bodyType +
				"\n Target Wetight: " + targetWetight +
				"\n Body Score: " + bodyScore +
				"\n Control Weight: " + controlWeight +
				"\n Skeletal Muscle Percentage: " + skeletalMusclePercentage +
				"\n Target Muscle: " + targetMuscle +
				"\n Fat Control: " + fatControl +
				"\n Muscle Control: " + muscleControl +
				"\n Health Level: " + healthLevel +
				"\n Health Assessment: " + healthAssessment +
				"\n WHR(Need user input waist & hip circumference):" + WHR;
	}

	public String getBodyType() {
		return bodyType;
	}

	public void setBodyType(String bodyType) {
		this.bodyType = bodyType;
	}

	public String getFatLevel() {
		return fatLevel;
	}

	public void setFatLevel(String fatLevel) {
		this.fatLevel = fatLevel;
	}

	public String getObsLevel() {
		return obsLevel;
	}

	public void setObsLevel(String obsLevel) {
		this.obsLevel = obsLevel;
	}

	public String getVFALLevel() {
		return VFALLevel;
	}

	public void setVFALLevel(String VFALLevel) {
		this.VFALLevel = VFALLevel;
	}

	public float getMusclePercentage() {
		return musclePercentage;
	}

	public void setMusclePercentage(float musclePercentage) {
		this.musclePercentage = musclePercentage;
	}

	public float getFatFreeMass() {
		return fatFreeMass;
	}

	public void setFatFreeMass(float fatFreeMass) {
		this.fatFreeMass = fatFreeMass;
	}

	public float getTargetWetight() {
		return targetWetight;
	}

	public void setTargetWetight(float targetWetight) {
		this.targetWetight = targetWetight;
	}

	public float getBodyScore() {
		return bodyScore;
	}

	public void setBodyScore(float bodyScore) {
		this.bodyScore = bodyScore;
	}

	public float getControlWeight() {
		return controlWeight;
	}

	public void setControlWeight(float controlWeight) {
		this.controlWeight = controlWeight;
	}

	public float getSkeletalMusclePercentage() {
		return skeletalMusclePercentage;
	}

	public void setSkeletalMusclePercentage(float skeletalMusclePercentage) {
		this.skeletalMusclePercentage = skeletalMusclePercentage;
	}

	public float getTargetMuscle() {
		return targetMuscle;
	}

	public void setTargetMuscle(float targetMuscle) {
		this.targetMuscle = targetMuscle;
	}

	public float getFatControl() {
		return fatControl;
	}

	public void setFatControl(float fatControl) {
		this.fatControl = fatControl;
	}

	public float getMuscleControl() {
		return muscleControl;
	}

	public void setMuscleControl(float muscleControl) {
		this.muscleControl = muscleControl;
	}

	public String getHealthLevel() {
		return healthLevel;
	}

	public void setHealthLevel(String healthLevel) {
		this.healthLevel = healthLevel;
	}

	public String getHealthAssessment() {
		return healthAssessment;
	}

	public void setHealthAssessment(String healthAssessment) {
		this.healthAssessment = healthAssessment;
	}

	public float getWHR() {
		return WHR;
	}

	public void setWHR(float WHR) {
		this.WHR = WHR;
	}

	private float rbmr; //BMR Kcal
	private String level;//绛夌骇
	private String sex;//鎬у埆
	private int unitType;// 00-g,01=ml,02=lb,04-ml
	private boolean isEffective;//娴嬮噺缁撴灉鏄惁鏈夋晥

	public boolean isEffective() {
		return isEffective;
	}

	public float getProteinPercentage() {
		return proteinPercentage;
	}

	public void setProteinPercentage(float proteinPercentage) {
		this.proteinPercentage = proteinPercentage;
	}

	public void setEffective(boolean effective) {
		isEffective = effective;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUseId() {
		return useId;
	}

	public void setUseId(int useId) {
		this.useId = useId;
	}

	public String getScaleType() {
		return scaleType;
	}

	public void setScaleType(String scaleType) {
		this.scaleType = scaleType;
	}

	public String getUgroup() {
		return ugroup;
	}

	public void setUgroup(String ugroup) {
		this.ugroup = ugroup;
	}

	public String getRecordTime() {
		return recordTime;
	}

	public void setRecordTime(String recordTime) {
		this.recordTime = recordTime;
	}

	public String getCompareRecord() {
		return compareRecord;
	}

	public void setCompareRecord(String compareRecord) {
		this.compareRecord = compareRecord;
	}

	public float getRweight() {
		return rweight;
	}

	public void setRweight(float rweight) {
		this.rweight = rweight;
	}

	public float getRbmi() {
		return rbmi;
	}

	public void setRbmi(float rbmi) {
		this.rbmi = rbmi;
	}

	public float getRbone() {
		return rbone;
	}

	public void setRbone(float rbone) {
		this.rbone = rbone;
	}

	public float getRbodyfat() {
		return rbodyfat;
	}

	public void setRbodyfat(float rbodyfat) {
		this.rbodyfat = rbodyfat;
	}

	public float getRmuscle() {
		return rmuscle;
	}

	public void setRmuscle(float rmuscle) {
		this.rmuscle = rmuscle;
	}

	public float getRbodywater() {
		return rbodywater;
	}

	public void setRbodywater(float rbodywater) {
		this.rbodywater = rbodywater;
	}

	public float getRvisceralfat() {
		return rvisceralfat;
	}

	public void setRvisceralfat(float rvisceralfat) {
		this.rvisceralfat = rvisceralfat;
	}

	public float getRbmr() {
		return rbmr;
	}

	public void setRbmr(float rbmr) {
		this.rbmr = rbmr;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public float getBodyAge() {
		return bodyAge;
	}

	public void setBodyAge(float bodyAge) {
		this.bodyAge = bodyAge;
	}

	public int getUnitType() {
		return unitType;
	}

	public void setUnitType(int unitType) {
		this.unitType = unitType;
	}

}
